Conversation
|
This is excellent; thanks @kevingurney and @sgilmore10! I wanted to test this myself, so I went ahead and downloaded and installed a trial copy of MATLAB, activated the license, and built and installed the MATLAB Arrow interface by following the instructions in the README. After some fiddling around with missing dylib files and permissions issues (on an Apple Silicon Mac) I got it working and was able to test this against several more of the server examples. Everything worked as expected. Just a couple of suggested edits to the comments and README text. |
Co-authored-by: Ian Cook <ianmcook@gmail.com>
Co-authored-by: Ian Cook <ianmcook@gmail.com>
|
Thanks for the review and for all of the help with testing this @ianmcook! We really appreciate it! We're very sorry to hear about the dylib and permissions issues! It's not clear to us whether this was because of the MATLAB interface to Arrow or MATLAB in general. Either way, we would love to know more about the issues you ran into here. If it is convenient / possible for you to reproduce the issue consistently, we would definitely want to fix it. It sounds like you built the MATLAB interface from source using CMake rather than downloading the MLTBX from the GitHub Releases area? If that's the case, it's possible you might have run into some kind of build infrastructure issue that we haven't encountered before. |
Correct. I sent you an email with the details about the problem I encountered. |
Overview
Now that the MATLAB interface supports reading the Arrow IPC Stream format from a byte array (
uint8), we can now easily consume Arrow IPC Streams over HTTP and load them into anarrow.tabular.Tablein memory.This PR adds a simple HTTP
GETMATLAB Client example.This was tested against the Python server. We would be happy to do more testing as needed.
@ianmcook - would you like to take a look at this PR? Thank you!
Example Output from
client.mNotes
client.mscript shorter, we are happy to remove these.README.mdinstructs users to runclientin-batchmode which can result in some additional delay due to MATLAB startup. The script should run fine if MATLAB is launched and then the script is executed interactively, as well. We just thought it would be easier to directly run the script in-batchmode from the command line.Closes apache/arrow#40489